<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>zlib::error</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Beast">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__beast__zlib__deflate_upper_bound.html" title="zlib::deflate_upper_bound">
<link rel="next" href="boost__beast__zlib__inflate_stream.html" title="zlib::inflate_stream">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__zlib__deflate_upper_bound.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__inflate_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="beast.ref.boost__beast__zlib__error"></a><a class="link" href="boost__beast__zlib__error.html" title="zlib::error">zlib::error</a>
</h4></div></div></div>
<p>
        <a class="indexterm" name="idp141234256"></a>
Error codes returned by the codec.
      </p>
<h5>
<a name="beast.ref.boost__beast__zlib__error.h0"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.synopsis"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="../../../../../../boost/beast/zlib/error.hpp" target="_top">boost/beast/zlib/error.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">error</span>
</pre>
<p>
        <a class="indexterm" name="idp141242096"></a>
 <a class="indexterm" name="idp141243200"></a>
 <a class="indexterm" name="idp141244304"></a>
 <a class="indexterm" name="idp141245408"></a>
 <a class="indexterm" name="idp141246512"></a>
 <a class="indexterm" name="idp141247616"></a>
 <a class="indexterm" name="idp141248720"></a>
 <a class="indexterm" name="idp141249824"></a>
 <a class="indexterm" name="idp141250944"></a>
 <a class="indexterm" name="idp141252048"></a>
 <a class="indexterm" name="idp141253152"></a>
 <a class="indexterm" name="idp141254256"></a>
 <a class="indexterm" name="idp141255360"></a>
 <a class="indexterm" name="idp141256464"></a>
 <a class="indexterm" name="idp141257568"></a>

      </p>
<h5>
<a name="beast.ref.boost__beast__zlib__error.h1"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.values"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.values">Values</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <code class="literal">need_buffers</code>
                </p>
              </td>
<td>
                <p>
                  Additional buffers are required.
                </p>
                <p>
                  This error indicates that one or both of the buffers provided buffers
                  do not have sufficient available bytes to make forward progress.This
                  does not always indicate a failure condition.This is the same as
                  Z_BUF_ERROR returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">end_of_stream</code>
                </p>
              </td>
<td>
                <p>
                  End of stream reached.
                </p>
                <p>
                  This is the same as Z_STREAM_END returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">stream_error</code>
                </p>
              </td>
<td>
                <p>
                  Invalid stream or parameters.
                </p>
                <p>
                  This error is returned when invalid parameters are passed, or the
                  operation being performed is not consistent with the state of the
                  stream. For example, attempting to write data when the end of stream
                  is already reached.This is the same as Z_STREAM_ERROR returned
                  by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_block_type</code>
                </p>
              </td>
<td>
                <p>
                  Invalid block type.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_stored_length</code>
                </p>
              </td>
<td>
                <p>
                  Invalid stored block length.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">too_many_symbols</code>
                </p>
              </td>
<td>
                <p>
                  Too many length or distance symbols.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_code_lenths</code>
                </p>
              </td>
<td>
                <p>
                  Invalid code lengths.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_bit_length_repeat</code>
                </p>
              </td>
<td>
                <p>
                  Invalid bit length repeat.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">missing_eob</code>
                </p>
              </td>
<td>
                <p>
                  Missing end of block code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_literal_length</code>
                </p>
              </td>
<td>
                <p>
                  Invalid literal/length code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_distance_code</code>
                </p>
              </td>
<td>
                <p>
                  Invalid distance code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">invalid_distance</code>
                </p>
              </td>
<td>
                <p>
                  Invalid distance too far back.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">over_subscribed_length</code>
                </p>
              </td>
<td>
                <p>
                  Over-subscribed length code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">incomplete_length_set</code>
                </p>
              </td>
<td>
                <p>
                  Incomplete length set.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="literal">general</code>
                </p>
              </td>
<td>
                <p>
                  general error
                </p>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="beast.ref.boost__beast__zlib__error.h2"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.description"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.description">Description</a>
      </h5>
<p>
        Convenience header <code class="literal">&lt;<a href="../../../../../../boost/beast/zlib.hpp" target="_top">boost/beast/zlib.hpp</a>&gt;</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2016, 2017 Vinnie Falco<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__zlib__deflate_upper_bound.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__inflate_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
